class Animal:
    # 类属性
    bone = "大骨头"

    # 类方法
    @classmethod
    def eat(cls):
        print(cls.bone)


if __name__ == '__main__':
    print(Animal.bone)
    print(repr(Animal))
